
<!-- 引入基类模板 -->
<extend name="Public:base" />

<!-- 主体部分 -->
<block name='content'>

	<!-- 功能操作区一 -->
	<form class="layui-form toolbar">
       <div class="layui-form-item">
		   <div class="layui-inline">
			   <label class="layui-form-label w-auto">城市名称：</label>
			   <div class="layui-input-inline">
				   <input type="text" name="name" id="keywords" placeholder="请输入城市名称" autocomplete="off" class="layui-input">
			   </div>
		   </div>
            <div class="layui-inline">
                <div class="layui-input-inline" style="width: auto;">
					{:W('func/query',array(查询))}
					{:W('func/add',array(添加城市))}
					{:W('func/dall',array(批量删除))}
					{:W('func/expand',array(全部展开))}
					{:W('func/collapse',array(全部折叠))}
               </div>
           </div>
       </div>
	</form>

	<!-- TREE渲染区 -->
	<table id="tableList" class="layui-hide" lay-filter="tableList"></table>
	
	<!-- 操作功能区二 -->
	<script type="text/html" id="toolBar">
		{:W('func/edit',array(编辑))}
		{:W('func/delete',array(删除))}
		{{#  if(d.level > 1){ }}
		{:W('func/addz',array(添加))}
		{{#  } }}
	</script>

</block>